package com.dhcc.bpm.modules.api.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

@Data
public class WsdlElement {
    @Excel(name = "字段名称[必填]")
    private String name;
    @Excel(name = "字段描述")
    private String desc;
    @Excel(name = "字段类型[必填]",fixedIndex = 2)
    private String type;
    @Excel(name = "最小出现次数")
    private String minOccurs;
    @Excel(name = "最大出现次数")
    private String maxOccurs;

    public WsdlElement(){}

    public WsdlElement(String name){
        this.name = name;
    }
    public WsdlElement(String name,String type){
        this.name = name;
        this.type = type;
    }
    public WsdlElement(String name,String type,String minOccurs,String maxOccurs){
        this.name = name;
        this.type = type;
        this.maxOccurs = maxOccurs;
        this.minOccurs = minOccurs;
    }

}
